import request from '@/utils/request'


//查看学生个人用户详情	
export function selectStudentDetail(data) {
	return request({
		url: '/student/user/userInfo/studentInfo',
		method: 'get',
		params: data
	})
}

//修改密码	
export function studentUpdatePwd(data) {
	return request({
		url: '/student/user/userInfo/updatePassword',
		method: 'post',
		data
	})
}

//修改头像	
export function updateHeadPortrait(data) {
	return request({
		url: '/student/user/userInfo/updateHeadPortrait',
		method: 'get',
		params: data
	})
}

//修改个人信息
export function studentDetailUpdate(data) {
	return request({
		url: '/system/student/studentDetailUpdate',
		method: 'post',
		data
	})
}	

//浏览记录	
export function viewList(data) {
	return request({
		url: '/student/user/history/viewList',
		method: 'get',
		params: data
	})
}
//影像报告列表	
export function reportList(data) {
	return request({
		url: '/student/user/report/reportList',
		method: 'get',
		params: data
	})
}

//报告详情	
export function studentReportInfo(data) {
	return request({
		url: '/student/user/report/studentReportInfo',
		method: 'get',
		params: data
	})
}
